"use client";
import { Empty, Button } from "antd";
import { memo } from "react";
import "./index.css";

const EmptyBag: React.FC = () => {
    return (
        <div className="empty-bag">
            <Empty
                image={Empty.PRESENTED_IMAGE_SIMPLE}
                description="暂无点赞记录"
                className="empty-content"
            >
                <Button type="primary" onClick={() => window.open("/")}>
                    去浏览题目
                </Button>
            </Empty>
        </div>
    );
};

export default memo(EmptyBag);